package com.linkcard.list.persistence;

import java.util.List;

import com.linkcard.commen.tools.Page;
import com.linkcard.list.model.Category;

public interface CategoryDao {

	//添加类别
	boolean addCategory(Category category);

	//获得类别列表
	List categoryList(Integer columnId,int pid);

	//修改类别
	boolean modifyCategory(Category category);

	//类别
	boolean deleteCategory(Category category);

	//查找类别
	Category findCategory(Integer categoryId);
}
